<%--
  Created by IntelliJ IDEA.
  User: 混子琳
  Date: 2021-09-13
  Time: 17:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
    <h1>登录</h1>
    <div>
<%--        表单表示的意思：以post方式提交表单，提交到我们的login请求--%>
        <form action="${pageContext.request.contextPath}/login" method="post">
            用户名：<input type="username" name="username"><br>
            密码：<input type="password" name="password"> <br>
            爱好：
            <input type="checkbox" name="hobbies" value="女孩">女孩
            <input type="checkbox" name="hobbies" value="代码">代码
            <br>
            <input type="submit">
        </form>
    </div>
</head>
<body>

</body>
</html>
